package com.ms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ms.dao.ScheduleMapper;
import com.ms.entity.Schedule;
import com.ms.service.inter.ScheduleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 赛程服务实现类
 * 实现赛程相关业务逻辑
 */
@Service
public class ScheduleServiceImpl extends ServiceImpl<ScheduleMapper, Schedule> implements ScheduleService {
    
    @Override
    public List<Schedule> listSchedulesByOrganizerId(Integer organizerId) {
        return ((ScheduleMapper) this.getBaseMapper()).selectSchedulesByOrganizerId(organizerId);
    }
}